home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 5 / Amiga Tools 5.iso / grafik / 3d & render tools / irit / man / man6 / view.6 < prev    next >
Text File  |  1996-07-16  |  2KB  |  62 lines

  1. .TH VIEW
  2.  6 "IRIT Version 6.0" 
  3. .SH NAME
  4. VIEW
  5.  
  6.  
  7.  
  8.  VIEW( GeometricTreeType Object, NumericType ClearWindow )
  9.  
  10. Displays the (geometric) object(s) as given in Object.
  11.  
  12. If ClearWindow is non-zero (see TRUE/FALSE and ON/OFF) the window is
  13. first cleared (before drawing the objects).
  14.  
  15. Example:
  16.  
  17.     VIEW( Axes, FALSE );
  18.  
  19. displays the predefined object Axes in the viewing window on top of
  20. what is drawn already.
  21.  
  22. In version 4.0, this function is emulated (see iritinit.irt) using the
  23. VIEWOBJ function. In order to use the current viewing matrix, VIEW_MAT
  24. should be provided as an additional parameter. For example,
  25.  
  26.     VIEW( list( view_mat, Obj ), TRUE );
  27.  
  28. However, since VIEW is a user defined function, the following will not
  29. use VIEW_MAT as one would expect:
  30.  
  31.     VIEW( view_mat, TRUE );
  32.  
  33. because VIEW_MAT will be renamed inside the VIEW user defined function to
  34. a local (to the user defined function) variable.
  35.  
  36. In iritinit.irt one can find several other useful VIEW related functions:
  37.  
  38.     VIEWCLEAR       Clears all data displayed on the display device.
  39.     VIEWREMOVE      Removes the object specified by name from display.
  40.     VIEWDISC        Disconnects from display device (which is still running)
  41.                     while allowing IRIT to connect to a new device.
  42.     VIEWEXIT        Forces the display device to exit.
  43.     VIEWSAVE        Request sdisplay device to save transformation matrix.
  44.     BEEP            An emulation of the BEEP command of versions prior to 4.0.
  45.     VIEWSTATE       Allows to change the state of the display device.
  46.  
  47.  
  48. For the above VIEW related functions, only VIEWREMOVE, VIEWSAVE, and
  49. VIEWSTATE require a parameter, which is the file name and view state
  50. respectively. The view state can be one of several commands. See the
  51. display device section for more.
  52.  
  53. Examples:
  54.  
  55.     VIEWCLEAR();
  56.     VIEW( axes, off );
  57.     VIEWSTATE( "LngrVecs" );
  58.     VIEWSTATE( "DrawSolid" );
  59.     VIEWSAVE( "matrix1" );
  60.     VIEWREMOVE( "axes" );
  61.     VIEWDISC();
  62.